<?php include COMMON_PATH.'/index/header.html' ?>
<!--我的成绩-->
<div class="pt-wrap main-content ps-wrap clearfix">
    <!--引入左侧导航-->
    <?php include COMMON_PATH.'/index/left.html' ?>
    <div class="fl right-box">
        <div class="title">
            <b>我的成绩</b>
        </div>
        <ul class="user-info-wrap">
            <li class="clearfix">
                <span class="justify">排名</span>：<b><?=$myRanking['ranking']['ranking']?></b>
            </li>
            <li class="clearfix">
                <span class="justify">正确题目</span>：<b><?=$myRanking['correct']?></b>
            </li>
            <li class="clearfix">
                <span class="justify">总答题数</span>：<b><?=$myRanking['total']?></b>
            </li>
            <li class="clearfix">
                <span class="justify">考试次数</span>：<b><?=$myRanking['number']?></b>
            </li>
            <li class="clearfix last">
                <span class="justify">考试记录</span>：
                <ol>
                    <?php foreach($myRanking['record'] as $k=>$v):?>
                    <li><a href="/Question/results?llid=<?=$v['id']?>"><?=$k+1 .'、'.$v['name']?></a></li>
                    <?php endforeach;?>
                </ol>
            </li>
        </ul>
    </div>
</div>


<?php include COMMON_PATH.'/index/footer.html' ?>
<script>
    navActive(7);
    portalNavActive(1);
    var url_pic = '<?=$imgPath?>';

</script>
</html>